package com.geek.factory.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 入库单主表
 * </p>
 *
 * @author author
 * @since 2025-06-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("stock_in")
@ApiModel(value="StockIn对象", description="入库单主表")
public class StockIn implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "入库单ID")
    @TableId(value = "stock_in_id", type = IdType.AUTO)
    private Integer stockInId;

    @ApiModelProperty(value = "入库单编号")
    private String stockInCode;

    @ApiModelProperty(value = "入库仓库ID")
    private Integer warehouseId;

    @ApiModelProperty(value = "入库类型（采购/生产/调拨/退货等）")
    private String inType;

    @ApiModelProperty(value = "经办人")
    private String operator;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建人")
    private String createdBy; // <--- 新增

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdTime;



    @ApiModelProperty(value = "最后修改时间")
    private LocalDateTime updatedTime;


}
